/**
 * 路由控制层
 */
const express = require('express')
const router = express.Router()
const BlogDao = require('../model/BlogDao')

//首页
router.get('/admin', (req, res) => {

        res.render('admin/index.html', {})
    })
    //个人中心
router.get('/settings', (req, res) => {
    res.render('admin/settings.html', {})
})



//导出路由
module.exports = router;